package com.hl233.framework.controller;

import com.hl233.framework.utils.Result;
import org.apache.kafka.common.utils.SecurityUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author 张振强15065206763
 * @create 2024-09-18
 */
@RestController
@RequestMapping("/sys/menu")
public class MenuController {

    /**
     * 获取路由信息
     *
     * @return 路由信息
     */
    @GetMapping("getRouters")
    public Result getRouters() {
//        Long userId = SecurityUtils.getUserId();
//        List<SysMenu> menus = menuService.selectMenuTreeByUserId(userId);
        return null;
    }
}
